{extend name="Public:public_template" /}
{block name="container"}
<div class="main-container">
    <div class="current-location">
        {include file="public/current_location" /}
    </div>
    <div class="content-container">
        <form action="" method="post">
            <input type="hidden" name="__token__" value="{$Request.token}"/>
            <input type="hidden" name="where[model_table_id]" value="{$findservice['model_table_id']}"/>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td class="td-width-15">模型名称：</td>
                    <td class="text-align"><input type="text" name="info[table_name]" value="{$findservice['table_name']}" placeholder="请输入模型名称"/><span class="red">*</span></td>
                </tr>
                <tr>
                    <td class="td-width-15">模型表键名：</td>
                    <td class="text-align">{$findservice['name']}</td>
                </tr>
                <tr>
                    <td class="td-width-15">引擎：</td>
                    <td class="text-align">
                        <select name="info[engine]">
                            {volist name='enginelist' id='vo'}
                            <option {if condition="$vo['name'] eq $findservice['engine']"} selected {/if}  value="{$vo['name']}">{$vo['name']}</option>
                            {/volist}
                        </select>
                        <span class="red">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="td-width-15">描述：</td>
                    <td class="text-align">
                        <textarea name="info[describe]" placeholder="请输入描述">{$findservice['describe']}</textarea>
                    </td>
                </tr>
            </table>
            <div class="submit-button-form">
                <input type="submit" name="submit" value="提交数据">
            </div>
        </form>
    </div>
</div>
{/block}